---消除护盾(id:6)
---@class BuffEffect58 : BaseBuffEffect
BuffEffect58 = ClientFight.CreateClass("BuffEffect58", ClientFight.BaseBuffEffect)
local t = BuffEffect58
---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local distance = toRatio(buff.buffBean.f_BuffEffectValue[1]);
    local source = buff.source;
    local target = buff.target;

    distance = distance * buff.skill.targetDirection;

    FighterManager.changePosition(fight, target, 0, source.position.x + distance, target.position.y, 0,
    true, true, true);
    SkillRoleMgr.savePathFile("[" .. fight.frame .. "][EFFECT]Fighter " .. target.fighterId .. " Buff" .. buff.modelId .. " 后抛到" .. getJsonStr( target.position));

    return ClientFight.BaseBuffEffect.action(self,fight, buff, parameters);
end

t.New()